.music-player {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
}

.music-icon {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.music-icon.playing {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
